﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Downloader.Domain.Contracts.Tasks
{
    public interface IUserAccountTasks
    {
        /// <summary>
        /// 新建用户
        /// </summary>
        /// <param name="userAccount"></param>
        UserAccount SaveOrUpdate(UserAccount userAccount);
        /// <summary>
        /// 删除现有用户
        /// </summary>
        /// <param name="id"></param>
        void Delete(int id);
    }
}
